package demo01;

public class Student {
	int id ;
	String name;
	int age;
	
	public void setId(int id){
		this.id=id;
	}
	public void setName(String name){
		this.name=name;
	}
	public void setAge(int age) throws IllegalArgumentException{
		
		this.age=age;
	}
	
	public int getId(){
		return id;
	}
	public String getName(){
		return name;
	}
	public int getAge(){
		return age;
	}
public Student(int id,String name,int age){
	this.id=id;
	this.name=name;
	this.age=age;
}
public Student(){
	}
}